import requests

data = {
    "bread": 199,
}

url = 'http://127.0.0.1:8000/books/bbread/1/'

res = requests.put(url='http://127.0.0.1:8000/books/1/update_book_bread/', json=data)

print(res.json())

